package com.cheetah.start.common.runner;

import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.Component;
import org.noear.solon.core.event.AppLoadEndEvent;
import org.noear.solon.core.event.EventListener;

/**
 * 程序跑
 *
 * @author xjh
 * @date 2022/06/21
 */
@Slf4j
@Component
public class AppRunner implements EventListener<AppLoadEndEvent> {

    @Override
    public void onEvent(AppLoadEndEvent appLoadEndEvent) throws Throwable {
        log.info("启动的生命周期");
    }
}
